'use strict'

require('./index.css');
require('page/common/nav-simple/index.js');
var _mm = require('util/mm.js');
$(function(){
    var type = _mm.getUrlParam('type') || 'default',
        $element = $('.' + type + '-success');
    if(type === 'payment'){
        var orderNumber = _mm.getUrlParam('orderNumber');
        $orderNumber = $('.order-number');
        $orderNumber.attr('href',$orderNumber.attr('href')+orderNumber);
    }
    //显示对应的提示
    $element.show();
})